package com.freight.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.freight.order.entity.GoodsLoadingTime;
import com.freight.order.vo.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;

import java.util.Date;
import java.util.List;


public interface OrderGoodsVoMapper extends BaseMapper<GoodsSumVo> {

    List<GoodsLoadingTime> getNotLoadingTime(@Param(value = "goodId") Long goodId,@Param(value = "loadingState") String loadingState);

    List<GoodsLoadingTime> getGoodsLoadingOrder(@Param(value = "goodId") Long goodId,@Param(value = "loadingTime") Date loadingTime);

    List<GoodsLoadingTime> obtainGoodsLoadingTime(@Param(value = "goodId") Long goodId,@Param(value = "loadingTime") String loadingTime);

    List<GoodsLoadingTime> getGoodsLoadingTime(@Param(value = "goodId") Long goodId,@Param(value = "loadingTime") String loadingTime);

    com.baomidou.mybatisplus.extension.plugins.pagination.Page<GoodPageVo> getGoodPage(com.baomidou.mybatisplus.extension.plugins.pagination.Page<GoodPageVo> page);

    com.baomidou.mybatisplus.extension.plugins.pagination.Page<ForwardDriverVo> getdriverPage(@Param(value = "goodsId") Long goodsId,@Param(value = "vehicleNum") String vehicleNum,@Param(value = "name")  String name, com.baomidou.mybatisplus.extension.plugins.pagination.Page<ForwardDriverVo> page,@Param(value = "registStatus")  String registStatus);

    com.baomidou.mybatisplus.extension.plugins.pagination.Page<ForwardDriverVo> getCompanyDriverPage(@Param(value = "goodsId") Long goodsId,@Param(value = "vehicleNum") String vehicleNum,@Param(value = "name")  String name, com.baomidou.mybatisplus.extension.plugins.pagination.Page<ForwardDriverVo> page,@Param(value = "registStatus")  String registStatus,@Param(value = "userId") Long userId);

    List<ForwardDriverVo> getActualdriverPage(@Param(value = "searchContent")  String searchContent);

    List<ForwardDriverVo> getCompanyActualdriverPage(@Param(value = "searchContent")  String searchContent);

    List<String> getLoadingTime(@Param(value = "goodId") Long goodId,@Param(value = "loadingState") String loadingState);

}